package com.cqie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 不吃海鲜
 * @since 2024-11-25
 */
@Data
@Builder
@TableName("doctor_info")
@ApiModel(value = "DoctorInfo对象", description = "")
public class DoctorInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("医生信息id(主键)")
    @TableId(value = "doctor_info_id", type = IdType.AUTO)
    private Integer doctorInfoId;

    @ApiModelProperty("医生ID(外键)")
    @TableField("doctor_id")
    private Integer doctorId;

    @ApiModelProperty("科室代码(100，200)")
    @TableField("department_code")
    private Integer departmentCode;

    @ApiModelProperty("科室名称(急救科,骨科)")
    @TableField("department_name")
    private String departmentName;

    @ApiModelProperty("学历代码(1,2)")
    @TableField("education_code")
    private Integer educationCode;

    @ApiModelProperty("学历名称1高中 2 大专 3 大学 4研究生")
    @TableField("education_name")
    private String educationName;

    @ApiModelProperty("医生级别(10001 10002)")
    @TableField("doctor_level_code")
    private Integer doctorLevelCode;

    @ApiModelProperty("医生级别名称(10000-护士 10001-护士长)")
    @TableField("doctor_level_name")
    private String doctorLevelName;

    @ApiModelProperty("医生电子邮件")
    @TableField("doctor_email")
    private String doctorEmail;

    @ApiModelProperty("医生名称")
    @TableField("doctor_name")
    private String doctorName;

    @ApiModelProperty("身份证号码")
    @TableField("doctor_id_card")
    private String doctorIdCard;

    @ApiModelProperty("医生性别(1-男 2-女)")
    @TableField("doctor_sex_code")
    private Integer doctorSexCode;

    @ApiModelProperty("医生性别名称(男 女)")
    @TableField("doctor_sex_name")
    private String doctorSexName;

    @ApiModelProperty("信息创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("信息更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty("作废标准")
    @TableField("rm_sign")
    private String rmSign;

}
